/* 
  模拟数据库 (Mock Database)
  这个文件包含了网站所有动态内容的模拟数据。
  在未来，这些数据将由后端API提供。
*/

// 学业坊 (Portfolio) 数据
const portfolioData = {
    categories: [
        {
            name: "HTML作业",
            description: "HTML结构、表单、成绩表等基础练习。",
            items: [
                { title: "作业链接页", link: "../../期末作业合集/html作业/作业链接.html", description: "本组作业导航。" },
                { title: "注册页面表单", link: "../../期末作业合集/html作业/注册页面表单.html", description: "表单与验证。" },
                { title: "成绩表", link: "../../期末作业合集/html作业/成绩表.html", description: "表格结构与样式。" },
                { title: "有声相册", link: "../../期末作业合集/html作业/有声相册.html", description: "多媒体相册展示。" }
            ]
        },
        {
            name: "CSS综合任务1",
            description: "基础CSS与排版练习，包含奖状、五角星、文本格式化等。",
            items: [
                { title: "作业链接页", link: "../../期末作业合集/CSS综合任务1/01作业链接.html", description: "本组作业导航。" },
                { title: "奖状制作", link: "../../期末作业合集/CSS综合任务1/制作奖状.html", description: "仿真奖状排版与美化。" },
                { title: "五角星绘制", link: "../../期末作业合集/CSS综合任务1/五角星.html", description: "CSS实现五角星图形。" },
                { title: "格式化文本", link: "../../期末作业合集/CSS综合任务1/格式化文本.html", description: "多样文本排版练习。" }
            ]
        },
        {
            name: "CSS综合任务2",
            description: "进阶CSS布局与交互，包括菜单栏、立方体、购物车等。",
            items: [
                { title: "作业链接页", link: "../../期末作业合集/CSS综合任务2/作业链接.html", description: "本组作业导航。" },
                { title: "菜单栏设计", link: "../../期末作业合集/CSS综合任务2/菜单栏/导航菜单栏01.html", description: "响应式导航菜单栏。" },
                { title: "动感立方体", link: "../../期末作业合集/CSS综合任务2/动感立方体/立方体.html", description: "3D立方体动画。" },
                { title: "图标字体与购物车", link: "../../期末作业合集/CSS综合任务2/图标字体与购物车/图标字体与购物车.html", description: "自定义图标与购物车交互。" },
                { title: "浮动及定位", link: "../../期末作业合集/CSS综合任务2/浮动及定位/浮动及定位5.html", description: "浮动与定位综合练习。" }
            ]
        },
        {
            name: "JS/交互项目",
            description: "JS实现的交互小项目与小游戏。",
            items: [
                { title: "时钟计算器", link: "../../期末作业合集/js作业文件/时钟计算器/时钟计算器/index.html", description: "数字时钟与计算器。" },
                { title: "网页游戏", link: "../../期末作业合集/js作业文件/网页游戏/网页游戏/index.html", description: "简单网页小游戏。" },
                { title: "轮播图", link: "../../期末作业合集/js作业文件/轮播图/轮播图/index.html", description: "图片轮播与切换。" }
            ]
        },
        {
            name: "独立项目",
            description: "个人简历、独立功能项目等。",
            items: [
                { title: "个人简历", link: "../../期末作业合集/个人简历/index.html", description: "个人简历页面。" },
                { title: "时钟计算器(独立)", link: "../../期末作业合集/时钟计算器/时钟计算器/index.html", description: "独立时钟计算器页面。" },
                { title: "网页游戏(独立)", link: "../../期末作业合集/网页游戏/网页游戏/index.html", description: "独立网页游戏页面。" },
                { title: "轮播图(独立)", link: "../../期末作业合集/轮播图/轮播图/index.html", description: "独立轮播图页面。" }
            ]
        }
    ],
    movableTypes: [
        { id: 'p1', name: '项目甲', link: '#' },
        { id: 'p2', name: '项目乙', link: '#' },
        { id: 'p3', name: '项目丙', link: '#' },
        { id: 'p4', name: '项目丁', link: '#' }
    ]
};

// 千秋纪 (Timeline) 数据
const timelineData = {
    events: [
        {
            date: "2024",
            title: "初识代码",
            description: "进入大学，开始学习Java语言基础，首次接触编程语言。"
        },
        {
            date: "2025.春",
            title: "前端入门",
            description: "完成了第一个完整的静态网页，并掌握了HTML、CSS和JavaScript的基础。"
        },
        {
            date: "2025.秋",
            title: "深入JS",
            description: "学习了ES6+新特性，并开始使用框架进行开发，理解了组件化思想。"
        },
        {
            date: "2026",
            title: "全栈探索",
            description: "开始接触后端和数据库高级应用，尝试构建全栈应用，理解了前后端数据交互的全过程。"
        }
    ],
    badges: [
        { id: 'b1', name: "项目能手", image: "assets/images/badge-tiger-tally.png" },
        { id: 'b2', name: "代码工匠", image: "assets/images/badge-jade-cong.png" }
    ]
};

// 访客阁 (Guestbook) 数据
let guestbookData = [
    {
        nickname: "访客甲",
        message: "网站的设计风格很独特，文化气息浓厚，加油！"
    },
    {
        nickname: "旅行者",
        message: "非常有创意的个人网站，期待后续更多精彩内容。"
    }
];

// 人物志 (About Me) 竹简简历数据
const resumeData = [
    { title: "学", content: "顺德职业技术大学在读，主修软件技术，专注于Web开发方向。系统学习了数据结构、算法、计算机网络等核心课程。" },
    { title: "技", content: "前端：精通HTML/CSS/JS，熟练掌握Vue.js和React。<br>后端：了解Node.js, Express。<br>数据库：熟悉MySQL。<br>工具：Git, Webpack, VSCode。" },
    { title: "习", content: "曾在ABC公司担任前端开发实习生，参与电商网站的重构项目，负责用户中心和购物车模块的开发与维护，积累了宝贵的团队协作经验。" },
    { title: "作", content: '独立完成"俊哥·鉴"个人网站的设计与开发。另有多个课程项目，详情请见"学业坊"。' }
]; 